<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>12_盒子模型</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        body {
          height: 100vh;
        }

        .container {
            width: 100%;
            height: 100% ;
            background-color: pink;
            background-image: url("http://img0.baidu.com/it/u=1652113119,3226642753&fm=253&app=138&f=JPEG?w=1423&h=800") ;
            background-repeat: no-repeat;
            background-size: cover;
            /* background-position: 500px 500px; */
        }
    </style>
</head>
<body>
    <div class="container"></div>
</body>
</html>